import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './permission'
import './styles/reset.less';//这里也可以引入 normalize.css
// import 'normalize.css/normalize.css'; //css resets
import './styles/index.less';//放global 样式
// 引入ui
import ElementUI from 'element-ui';
import './icons'; //icon
import 'element-ui/lib/theme-chalk/index.css';
Vue.config.productionTip = false
Vue.use(ElementUI);

import scrollBar from '@/components/scrollBar';
import '@/components/scrollBar/index.less';
Vue.component('scroll-bar', scrollBar);




new Vue({
  router,//将路由器挂载到 Vue 实例
  store,
  render: h => h(App),
}).$mount('#app')
